﻿using System;
using Model.Base;
namespace Model.AuthModel
{
    /// <summary>
    /// 权限模型，模型层，角色对象
    /// </summary>
    public class RolesInfo
    {
        /// <summary>
        /// 角色ID
        /// </summary>
        public int RolesID { get; set; }

        /// <summary>
        /// 角色名称
        /// </summary>
        public string RolesName { get; set; }

        /// <summary>
        /// 角色描述
        /// </summary>
        public string RolesDescription { get; set; }

        /// <summary>
        /// 角色权限对象
        /// </summary>
        public RolesAuthInfo RolesAuth { get; set; }
    }

    /// <summary>
    /// 权限模型，模型层，角色对象搜索对象
    /// </summary>
    public class RolesCondition : BaseCondition 
    {
        /// <summary>
        /// 角色编号
        /// </summary>
        public int RolesID { get; set; }
    }
}
